[1] "deleted rule no:"
[1] "9"
[1] "8"
function(rule, data)
{
	# qMD
	ct = contingencyTable(rule, data)	
	return (log((ct[["nrc"]]/ct[["n_rc"]])/(ct[["nr_c"]]/ct[["n_r_c"]])))
}
       9        8        1        2        3        4        5        6        7 
6.629803 6.661855      Inf      Inf      Inf      Inf      Inf      Inf      Inf 
$`1`
$`1`$class
[1] "Iris-setosa"

$`1`$condition
$`1`$condition[[1]]
[1] "petal_lgth" "< "         "2.45"      



$`2`
$`2`$class
[1] "Iris-versicolor"

$`2`$condition
$`2`$condition[[1]]
[1] "petal_lgth" ">="         "2.45"      

$`2`$condition[[2]]
[1] "petal_lgth" "< "         "4.75"      



$`3`
$`3`$class
[1] "Iris-virginica"

$`3`$condition
$`3`$condition[[1]]
[1] "petal_lgth" ">="         "2.45"      

$`3`$condition[[2]]
[1] "petal_lgth" ">="         "4.75"      



$`4`
$`4`$class
[1] "Iris-setosa"

$`4`$condition
$`4`$condition[[1]]
[1] "petal_lgth" "< "         "2.35"      



$`5`
$`5`$class
[1] "Iris-versicolor"

$`5`$condition
$`5`$condition[[1]]
[1] "petal_lgth" ">="         "2.35"      

$`5`$condition[[2]]
[1] "petal_lgth" "< "         "4.8"       



$`6`
$`6`$class
[1] "Iris-virginica"

$`6`$condition
$`6`$condition[[1]]
[1] "petal_lgth" ">="         "2.35"      

$`6`$condition[[2]]
[1] "petal_lgth" ">="         "4.8"       



$`7`
$`7`$class
[1] "Iris-setosa"

$`7`$condition
$`7`$condition[[1]]
[1] "petal_wdth" "< "         "1.7"       

$`7`$condition[[2]]
[1] "petal_lgth" "< "         "2.6"       



[1] "iris predictResults[[1]]"
   Iris-setosa Iris-versicolor Iris-virginica
1            1               0              0
2            1               0              0
3            1               0              0
4            1               0              0
5            1               0              0
6            1               0              0
7            1               0              0
8            1               0              0
9            1               0              0
10           1               0              0
11           1               0              0
12           1               0              0
13           1               0              0
14           0               1              0
15           0               1              0
16           0               1              0
17           0               1              0
18           0               1              0
19           0               0              1
20           0               0              1
21           0               1              0
22           0               1              0
23           0               1              0
24           0               1              0
25           0               1              0
26           0               1              0
27           0               1              0
28           0               1              0
29           0               0              1
30           0               0              1
31           0               1              0
32           0               0              1
33           0               0              1
34           0               0              1
35           0               0              1
36           0               0              1
37           0               0              1
38           0               0              1
39           0               0              1
40           0               0              1
41           0               0              1
42           0               0              1
43           0               0              1
[1] "iris predictResultsQuality[[1]]"
[1] 40
